perm filename EDFONT.TVR[UP,DOC]5 blob sn#062612 filedate 1973-09-13 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00008 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	Entering numbers and control bits.
C00003 00003	Cursor Moving Commands:
C00006 00004	Line editing commands:
C00007 00005	Fonts:
C00010 00006	Macros:
C00012 00007	Extended Commands:
C00016 00008	Misc. Commands:
C00017 ENDMK
C⊗;
Entering numbers and control bits.

α	Turn on CONTROL bit in following character.
β	Turn on META bit in following character.
ε	Turn on CONTROL and META bits in following character.
0-9	Enter numeric argument (which also precede command).
Cursor Moving Commands:

     U  I  O			These commands move cursor in the
      \ | /			direction indicated.  (K is a no-
       \|/			op included for symmetry and also
     J--K--L			re-outputs display).
       /|\	
      / | \
     M  ,  .

     R  T  Y			These commands move cursor in the
      \ | /			direction indicated and place the
       \|/			current character at cursor posi-
     F--G--H			tion.  Current character is init-
       /|\			ially set to * and may be changed
      / | \			with D, *, and  β<character> com-
     V  B  N			ands.


∧	equivalent to 5I	These four commands move cursor a
∨	equivalent to 5,	multiple of 5 units. This is also
≤	equivalent to 5J	distance between grid lines.
≥	equivalent to 5L

<	moves to top		Move to edges of screen.(Users of
>	moves to bottom		TVED note:   Commands < ≤ and ≤ >
<cr>	moves to left		are interchanged.)
α<tab>	moves to far right

The following are included for those people who use TVED or E 
frequently:

<lf>	equivalent to ,
<vt>	equivalent to I
<space>	equivalent to L
<bs>	equivalent to J

These commands set current character.

D	Set current character to <space> and place at cursor pos-
	tion effectively deleting that character.
β<char>	Set current character to <char> and place at cursor posi-
	tion.  (Non-printing characters other that space will not
	be permitted).
*	Set current character to * and place at cursor position.
Line editing commands:

E	     Invokes system line editor.
	 _
α<space>  |
αD	  |
αI	  |  Enter system line editor and execute this command.
αK	  |
α<bs>	 _|

Z	     Moves cursor to last non-blank character in line.
S<char>	     Moves to next occurance of this character,  wrapping
	     around if necessary.

"	     Add following line of text beginning at cursor posi-
	     tion.
'	     Take next character as direction command  (it should
	     one of {U,I,O,...}) and place following line of text
	     in the specified direction.
Fonts:

For information on font file format, see MODE0[XGP,SYS].

αR	Read character from font file. If none has been mentioned
	a file name will be requested and FNT will be assumed for
	an extension.  If there is no such file on your area, the
	system font area will also be checked.  After a font file
	has been selected, a file name will not be requested.  To
	select a different font file, type <altmode> instead of a
	character and a new font file name will be requested.  If
	the character is to large an error message will be gener-
	ated.   In some cases, the character can be read by first
	moving the origin.  This is done with the commands:  ↑↓←→
	which move the origin one unit in the direction of arrow.

α∨	Same as αR except the character is OR'ed the current dis-
	play.

αW	Write character onto font file. The file name protocol is
	the same as αR.  You will be asked if to set width to:

	    C-CURSOR, D-DEFAULT, S-POSITION CURSOR THEN READ,
	    L-SAME AS LAST CHARACTER READ, <RETURN>-ABORT.

	C  sets the width to the number of units in X between the
	cursor and the origin.  D  is the default width, which is
	at least one extra bit for intercharacter spacing, and is
	proportional to size.  The default width is also the same
	as TVFONT uses to generate fonts.   S  allows you to save
	the cursor position and enter a temperary macro where you
	may use the usual commands to set the cursor position and 
	then type '⊃' to indicate you're done.   It then take the  
	current cursor position as in mode C. <RETURN> allows you
	to escape if you didn't really want to write that charac-
	ter yet.

	Note that EDFONT will  not  check if there is a character
	already defined for that code. However it will notify you
	if it is larger than any other character in that font.
Macros:

⊂	Begin macro.   All commands are saved up to next matching
	'⊃'.  Currently, commands that use the system line editor
	are illegal.  Macros may be nested to a depth of 20,  but
	macros length is limited by SAIL string space.

⊃	End macro.  Next character determines what happens to the
	macro:

	<number>R	Macros is repeated <number> times.
	λ<letter>	Macros is saved and may be invoked by the
			ε<letter> command,  and may also be saved
			on a file  (see extended commands MWRITE,
			MREAD and MLIST).
	Q		Don't do anything with macro.

∀	Begin macro to be repeated on each line. Macro is termin-
	ated with '⊃' (with no following character).

∃	Get back previous macro at current level.  Useful for re-
	peating macros and defining a macros which was terminated
	terminated with ⊃R or ⊃Q.

@	Use contents of file as macro.  (α,β and ε may be used to
	turn on appropriate control bits.)
Extended Commands:

An extended commands are invoked by typing 'X' followed by one of
the following.  (A more complete description of extended commands 
should be available soon.)

  Name 	    Function

  HELP      List extended commands.

  READ	    Read text file.  Useful for using EDFONT to make flow
	    charts
  WRITE     Write text file.

  START     Restart EDFONT
  EXIT      Exit to Moniter
  ZERO      Clear work space

  MREAD	    Read macros from file.
  MWRITE    Write macros onto file.
  MLIST	    List current macros.

  DREAD	    Read description part of font.  This is how to edit
	    the text description of a font.
  DWRITE    Write font description.

  FDISPLAY  Display font on Datadisc.  This displays the whole
	    font on your screen at once (if it fits).

  LINSERT   Insert a blank line.
  LCOPY     Copy the current line.
  LDELETE   Delete the current line.

  CINSERT   Insert a blank column at cursor position.
  CCOPY     Copy the current column.
  CDELETE   Delete the current column.

  DISPLAY   Enable displaying.
  -DISPLAY  Disable displaying.
  GRID	    Turn on 5 unit grid.
  -GRID	    Turn off grid.
  FONTMODE  Display character in corner as bits image as it is being
	    editted.
  -FONTMODE Turn off bit image.

  XORSHIFT  Logically 'OR` current line with current line left
	    shifted by one.
  YORSHIFT  Logically 'OR` current line with next line.

  XMIRROR   Reflect character in X direction.
  YMIRROR   Reflect character in Y direction.

  CORNER    MAKE THIS POINT THE UPPER LEFT CORNER;
  SETCENTER Make this cursor positiin the center for font editting.

  FOREACH   Repeat following macro on each character. All commands
	    are saved up to next matching '⊃'. Currently, commands
	    which use the system line editor are illegal.   Macros
	    may be nested to a depth of 20,   but macros length is
	    limited by SAIL string space.
Misc. Commands:

∪	     Push current position onto stack.
∩	     Pop current position off of stack.

↑	     Move center up.
↓	     Move center down.
→	     Move center right.
←	     Move center left.